<%=form_for(:password_reset,url: password_rests_url) do |f|%>
     <br><br>
    <div calss="" style="width: 35%;margin: 0 auto">
      <p><b>Email</b></p>
    </div>
    <div class=" input-group input-group-lg " style="width: 35%;margin: 0 auto">
    <span class=" input-group-addon">
      <span class="glyphicon glyphicon-envelope " aria-hidden="true"></span>
    </span>
      <%= f.text_field :email, class: 'form-control input-lg',placeholder:'email'%>
    </div>
    <br>
    <div class=" input-group input-group-lg " style="width: 35%;margin: 0 auto">
      <%= f.submit '提交', class: 'btn btn-success btn-lg btn-block'%>
    </div>
<%end%>